return {
    "ibhagwan/fzf-lua",
    -- optional for icon support
    dependencies = { "nvim-tree/nvim-web-devicons" },
    -- or if using mini.icons/mini.nvim
    -- dependencies = { "nvim-mini/mini.icons" },
    event = { "VeryLazy" },
    opts = {
        "default",
        winopts = {
            preview = {
                border = "noborder",
                vertical = "up:50%",
                horizontal = "right:50%",
                delay = 50,
            },
        },
        files = {
            path_shorten = 3, -- 缩短显示的文件路径，只保留最后三个目录
        },
        diagnostics = { -- 诊断信息（LSP 错误/警告）相关设置
            split = "belowright new",
        },
        previewer = {
            bat = {
                cmd = "bat",
            },
        },
    },
    keys = {
        { "<leader>f/", "<cmd>FzfLua <CR>", desc = "commands" }, -- 打开 fzf-lua 自身命令列表
        { "<leader>ff", "<cmd>FzfLua files<CR>", desc = "files" }, -- 查找文件
        { "<leader>fb", "<cmd>FzfLua buffers<CR>", desc = "buffers" },
        { "<leader>fl", "<cmd>FzfLua live_grep<CR>", desc = "live grep" },  -- 实时搜索项目中的文本
        { "<leader>fj", "<cmd>FzfLua jumps<CR>", desc = "jumplist" }, -- 查找跳转记录（jumplist）
        { "<leader>fkm", "<cmd>FzfLua keymaps<CR>", desc = "keymaps" }, -- 查找快捷键映射
        { "<leader>fqf", "<cmd>FzfLua quickfix<CR>", desc = "quickfix" },  -- 查找快速修复列表内容
        { "<leader>fw", "<cmd>FzfLua grep_cword<CR>", desc = "cword" }, -- 搜索当前光标下的单词

        -- lsp
        { "<leader>d", "<cmd>FzfLua lsp_document_diagnostics<CR>", desc = "lsp_document_diagnostics" },  -- 查找当前文档的诊断信息（错误/警告）
        { "<leader>fd", "<cmd>FzfLua lsp_definitions<CR>", desc = "lsp_definition" },  -- 查找变量/函数的定义
        { "<leader>fr", "<cmd>FzfLua lsp_references<CR>", desc = "lsp_references" },  -- 查找变量/函数的引用
        { "<leader>fi", "<cmd>FzfLua lsp_implementations<CR>", desc = "lsp_implementations" },  -- 查找接口/抽象类的实现
        { "<leader>fs", "<cmd>FzfLua lsp_document_symbols<CR>", desc = "lsp_document_symbols" },  -- 查找当前文档中的符号（变量/函数等）
        { "<leader>fS", "<cmd>FzfLua lsp_workspace_symbols<CR>", desc = "lsp_workspace_symbols" },  -- 查找整个工作区中的符号

        { "<C-f>", "<cmd>FzfLua grep_curbuf<CR>", desc = "lines" },  -- Ctrl+f 搜索当前缓冲区（文件）中的行
    }
}
